package com.translate.web.param;
import java.math.BigDecimal;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.ISecondaryServiceTypeAddParam;
public class SecondaryServiceTypeAddParam implements ISecondaryServiceTypeAddParam {// 类型名称
@NotNull
@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
private String typeName;
// 服务说明
@NotNull
@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
private String description;
// 0 弃用 1 启用
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte enable;



public String getTypeName() {
        return typeName;
    }
public void setTypeName(String typeName) {
        this.typeName = typeName == null ? null : typeName.trim();
    }
public String getDescription() {
        return description;
    }
public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }
public Byte getEnable() {
        return enable;
    }
public void setEnable(Byte enable) {
        this.enable = enable;
    }




}